﻿<%@ Page Title="Recently Added" Language="C#" MasterPageFile="~/pages/MainPage.Master" AutoEventWireup="true" CodeBehind="RecentlyAddedPage.aspx.cs" Inherits="SE560Multimedia.pages.WebForm6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="ContentRecentlyAdded" 
    ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <asp:Label ID="LabelRecentlyAdded" runat="server" 
    style="font-family: Arial; font-size: small">Recently Uploaded Medias :</asp:Label>
    <table>
        <asp:GridView ID="GridViewRecentlyAdded" runat="server" AllowPaging="True" 
                    AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="Vertical" 
                    onrowcommand="GridViewSearchResult_RowCommand" 
                    style="font-family: Arial; font-size: small" 
            AutoGenerateColumns="False">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:BoundField DataField="MEDIA_NAME" HeaderText="Name" />
                <asp:BoundField DataField="MEDIA_ALBUM_NAME" HeaderText="Album Name" />
                <asp:BoundField DataField="MEDIA_ARTIST_NAME" HeaderText="Artist Name" />
                <asp:ButtonField ButtonType="Button" CommandName="ResultListPlayCommand" 
                            Text="Play" >
                <ControlStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" 
                            ForeColor="#284775" />
                </asp:ButtonField>
            </Columns>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
    </table>
</asp:Content>
